<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require_once APPPATH.'/libraries/dysms_php/api_demo/SmsDemo.php';

class Test extends CI_Controller {

    public function __construct(){
		parent::__construct();
		$this->load->helper(array('form','url'));
	}

	public function index()
	{
        $response = SmsDemo::sendSms( "17756537031", "569832" );
        var_export($response);
        echo("<br/>");
        var_export($response->Code);
	}

}
